package com.enjoyor.soa.traffic.api.service.dubbo.fms;

import com.enjoyor.soa.traffic.api.dto.fms.CustomHomeDto;
import com.enjoyor.soa.traffic.api.dto.fms.LogUserDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

/**
 * 主页信息管理
 * 
 * @author Administrator
 *
 */
public interface DubboCustomHomeService {

	/**
	 * 配置主页信息
	 * 
	 * @param token
	 * @param systemKey
	 * @param customhomedto
	 * @return
	 */
	public ResultPojo addCustomHome(String token, String systemKey, LogUserDto logUser, CustomHomeDto customhomedto);

	/**
	 * 修改主页配置信息
	 * 
	 * @param token
	 * @param systemKey
	 * @param customhomedto
	 * @return
	 */
	public ResultPojo editCustomHome(String token, String systemKey, LogUserDto logUser, CustomHomeDto customhomedto);

	/**
	 * 删除主页信息
	 * 
	 * @param token
	 * @param systemKey
	 * @param id
	 * @return
	 */
	public ResultPojo deleteCustomHome(String token, String systemKey, LogUserDto logUser, String roleId);

	/**
	 * 获取主页信息
	 * 
	 * @param token
	 * @param systemKey
	 * @param roleId
	 * @return
	 */
	public ResultPojo getCustomHome(String token, String systemKey, LogUserDto logUser, String roleId);

	/**
	 * 获取分页主页信息
	 * 
	 * @param token
	 * @param systemKey
	 * @param roleId
	 * @return
	 */
	@SuppressWarnings("rawtypes")
	public ResultPojo getPageCustomHome(String token, String systemKey, LogUserDto logUser, String roleId, Page page);

}
